home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Screensavers 98
/
Screensavers 98.iso
/
scr
/
pyro
/
fix.h
< prev
Wrap
C/C++ Source or Header
|
2000-03-28
|
235b
|
12 lines
#define ABS(X) (X<0?-X:X)
#define COS(X) cos_table[ABS(X)]
#define SIN(X) sin_table[ABS(X)]
const NUMOFDEGREES = 360;
const SHIFT = 10;
const SHIFT_MULT = 1<<SHIFT;
extern long cos_table[360];
extern long sin_table[360];